package cn.dnui_zll731.dnuifood_731zlll.service;
import java.util.List;

import cn.dnui_zll731.dnuifood_731zlll.bean.FoodBean;
import cn.dnui_zll731.dnuifood_731zlll.bean.ShopBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopService {
    @GET("getAllShops.do")
    Call<List<ShopBean>> getAllShops();

    @GET("getShopById.do")
    Call<ShopBean> getShopById(
            @Query("shop_id") String shop_id);
    @GET("getFoodBySearch.do")
    Call<List<FoodBean>> getFoodBySearch(@Query("search") String search);
}
